Managing Your Panel Component
Sequence grabber components load, configure, and unload your panel component. As part of this process, the sequence grabber installs your panel's dialog items into the settings dialog box and may open your component's resource file. Panel components provide a number of functions that allow the sequence grabber to manage its relationship with panel components. This section discusses those functions.After opening a connection to your panel component, the sequence grabber identifies itself to your component by calling your
SGPanelSetGrabber
function. The sequence grabber then tries to determine whether your component can work with its associated channel component by calling yourSGPanelCanRun
function. The sequence grabber calls this function only if you have set thechannelFlagHasDependency
component flag to 1.Once the sequence grabber has determined that your panel component can work with its channel component, the sequence grabber may open your component's resource file (unless you have set the
channelFlagDontOpenResFile
component flag to 1). Once it has opened the resource file, it passes the file's reference number to you by calling yourSGPanelSetResFile
function.Next, the sequence grabber prepares to add your component's items to the
settings dialog box. The sequence grabber obtains your item list by calling
yourSGPanelGetDITL
function. Once it has installed the items, it calls yourSGPanelInstall
function, giving you an opportunity to set initial values.Before the sequence grabber removes your items from the settings dialog box, it calls your
SGPanelRemove
function.
Subtopics
- SGPanelSetGrabber
- SGPanelCanRun
- SGPanelSetResFile
- SGPanelGetDITL
- SGPanelInstall
- SGPanelRemove
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help